package com.ylt.dao.oracledb;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ylt.entity.XcxEzqCart;

/**
 * @author zhouliang
 * @create 2018-12-03 18:14
 */
@Mapper
public interface WeChatDao {
    List selectImageInfo(String shopId);
    List selectYlt_news();
    void binding_wx(Map wxMap);
    Integer binding_wx_check(Map wxMap);
    //获取订单列表,付款
    List selectYlt_orders_header_fk(Map wxMap);
    //获取订单列表,付款
    List selectYlt_delivers_header_fk(Map wxMap);
    List selectYlt_fk_item(Map wxMap);
    List selectYlt_fk_item_yf(Map wxMap);

    void update_Order_Header_ZT(Map wxMap);
    void updateDlvLinePayZT(Map wxMap);
    void updateOrderHPayZT(Map wxMap);

    List selectYlt_orders_header(Map wxMap);
    List selectYlt_orders_line(String b2b_order_number);
    Map selectYlt_customerInfo(String wx_id);

    // 获取支付过的订单
    List getPAY_B2B_ORDER_NUMBER(Map wxMap);
    Map getB2B_ORDER_NUMBER_SUM_ORDER_ZE(Map wxMap);
    Map getYH_ORDER_PAY_HEADER(Map wxMap);
    void insert_YH_ORDER_PAY_HEADER(Map wxMap);
    void insert_YH_ORDER_PAY_LINE(Map wxMap);
    void update_PAY_HEADERANDLINE(Map wxMap);
    //查询商品
    List select_Items(Map map);

    void creatYLT_CUSTOMER_HZ();

    void insert_ylt_product_registration(Map wxMap);
    // 我的报货

    List get_ylt_product_registration(Map wxMap);

    // 取消报货
    void ylt_cancle_registration(Map wxMap);
    // 一个商品只能报一次货
    Integer check_registration(Map<String, Object> reqMap);
    void ylt_signOrder(Map<String, Object> reqMap);    
    List availcom(Map reqMap);
    List availywy(Map reqMap);
    List selectPcUser(Map reqMap);
    int insert_ZZQX_USERS(Map reqMap);
    int insert_ZZQX_USER_ROLES(Map reqMap);
    List selectCust4Check(Map reqMap);
    int insertYLT_CUSTOMER(Map reqMap);
    int insertYLT_CUSTOMER_SHOP_REL(Map reqMap);
    List ywyCustList(Map reqMap);
    int insertYLT_YWY_CUST_RLT(Map reqMap);
    List selectPriceList(Map reqMap);
    int insertYLT_CUST_CONTACT(Map reqMap);
    List selectZZQX_USERS(Map zuMap);
    List selectYLT_CUST_CONTACT(Map reqMap);
    List select_ItemPrice(Map reqMap);
    List selectItem4InsertCart(Map reqMap);
    Map selectOrderPayInfo(Map reqMap);
}
